.class Lcom/netease/newsreader/activity/ShowComments$25;
.super Ljava/lang/Object;
.source "ShowComments.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/ShowComments;->setListeners()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ShowComments;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowComments;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    .line 766
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .parameter "v"

    .prologue
    const/4 v4, 0x0

    .line 771
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$55(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/PopupWindow;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 772
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 773
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$53(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/LinearLayout;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 774
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$54(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 775
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$52(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->requestFocus()Z

    .line 776
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowComments;->access$7(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 777
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/ShowComments;->access$101(Lcom/netease/newsreader/activity/ShowComments;Ljava/lang/String;)V

    .line 781
    :goto_0
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/ShowComments;->access$76(Lcom/netease/newsreader/activity/ShowComments;Z)V

    .line 783
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    const-string v2, "input_method"

    invoke-virtual {v1, v2}, Lcom/netease/newsreader/activity/ShowComments;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    .line 785
    .local v0, imm:Landroid/view/inputmethod/InputMethodManager;
    if-eqz v0, :cond_0

    .line 786
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowComments;->access$52(Lcom/netease/newsreader/activity/ShowComments;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v0, v1, v4}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    .line 789
    .end local v0           #imm:Landroid/view/inputmethod/InputMethodManager;
    :cond_0
    return-void

    .line 779
    :cond_1
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowComments$25;->this$0:Lcom/netease/newsreader/activity/ShowComments;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowComments;->access$7(Lcom/netease/newsreader/activity/ShowComments;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "_"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/netease/newsreader/activity/ShowComments;->access$101(Lcom/netease/newsreader/activity/ShowComments;Ljava/lang/String;)V

    goto :goto_0
.end method
